﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;
using DocumentFormat.OpenXml.Drawing.Charts;

namespace BP.WF.CCFast.Third.GoView
{
    public class GoviewProjectDataVo : ISerializable
    {

        public string id { get; set; }
        public string createTime { get; set; }
        public string projectId { get; set; }
        public string createUserId { get; set; }
        public string content { get; set; }

        // 默认构造函数
        public GoviewProjectDataVo() { }

        // 用于反序列化
        protected GoviewProjectDataVo(SerializationInfo info, StreamingContext context)
        {
            id = info.GetString("id");
            projectId = info.GetString("projectId");
            createTime = info.GetString("createTime");
            createUserId = info.GetString("createUserId");
            content = info.GetString("content");
           
        }

        // 实现 ISerializable 接口的方法
        public void GetObjectData(SerializationInfo info, StreamingContext context)
        {
            info.AddValue("id", id);
            info.AddValue("projectId", projectId);
            info.AddValue("createTime", createTime);
            info.AddValue("createUserId", createUserId);
            info.AddValue("content", content);
        }

    }
}
